pandas query return column

28

df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]

Comments

Submit
0 Comments